@echo off

SET CFLG=-D___SYS_I486 -D___OS_WIN
IF "%1" EQU "" (
  echo "Args: <name>"
  exit
)
SET NAM=%1
shift

gcc -s -O2 -Wall -o %NAM%.exe %CFLG% %NAM%.c
